//
// Created by sundagao on 25-8-13.
//

#ifndef CUSTOMITEM_H
#define CUSTOMITEM_H

#include <QString>
#include <QColor>

class CustomItem {
public:
    CustomItem();
    CustomItem(const QString& name, const QColor& color);

    QString name() const;
    void setName(const QString& name);

    int value() const;
    void setValue(int value);

    bool isVisible() const;
    void setVisible(bool visible);

    QColor color() const;
    void setColor(const QColor& color);


private:
    QString m_name;
    QColor m_color;
    bool m_visible;
    int m_value;
};



#endif //CUSTOMITEM_H
